package com.aat.dizena.chat.service.impl;

import java.util.*;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.aat.dizena.chat.bean.GroupAdd;
import com.aat.dizena.chat.dao.GroupAddDao;
import com.aat.dizena.chat.service.GroupAddService;

@Service
public class GroupAddServiceImpl  implements GroupAddService {

    @Autowired
    private GroupAddDao groupaddDao;

    public int addBean(GroupAdd bean){
        return groupaddDao.addBean(bean);
    }

    public int updateBean(GroupAdd bean){
        return groupaddDao.updateBean(bean);
    }

    public int deleteBean(String id){
        return groupaddDao.deleteBean(id);
    }

    public GroupAdd queryBean(String id){
        return groupaddDao.queryBean(id);
    }

    public List<GroupAdd> queryAll(Map<String, Object> map){
        return groupaddDao.queryAll(map);
    }

    public long queryCount(Map<String, Object> map){
        return groupaddDao.queryCount(map);
    }

}
